package com.ruoyi.wvp.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseModel;

import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 社区事件统计对象 wvp_community_event_count
 * 
 * @author ruoyi
 * @date 2024-08-25
 */
@Schema(description = "社区事件统计对象")
@TableName("wvp_community_event_count")
@Setter
@Getter
@ToString
public class CommunityEventCount{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Schema(title = "$column.columnComment")
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 社区ID */
    @Schema(title = "社区ID")
    @Excel(name = "社区ID")
    private String communityCode;
    /** 事件数量 */
    @Schema(title = "事件数量")
    @Excel(name = "事件数量")
    private Long eventCount;
    /** 年月 2024-01 */
    @Schema(title = "年月 2024-01")
    @Excel(name = "年月 2024-01")
    private String month;

    @Schema(title = "社区名称")
    @Excel(name = "社区名称")
    @TableField(exist = false)
    private String community;

}
